/* ReleasesPage.css */
.releases-page {
  margin-left: 200px; /* 为左侧菜单留出空间 */
  padding: 70px 20px 20px; /* 顶部留出足够空间给导航栏 */
  background-color: #f5f7fa;
  min-height: 100vh;
  width: calc(100% - 200px); /* 确保宽度正确 */
}

.releases-header {
  margin-bottom: 24px;
}

.releases-header h1 {
  font-size: 24px;
  color: #333;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8e8e8;
}

.releases-filters {
  background-color: #fff;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px 16px -8px;
}

.filter-item {
  flex: 1;
  min-width: 250px;
  margin: 0 8px 12px 8px;
  display: flex;
  align-items: center;
}

.filter-item label {
  width: 80px;
  color: #666;
  font-size: 14px;
  text-align: right;
  margin-right: 12px;
  flex-shrink: 0;
}

.filter-item .ant-input,
.filter-item .ant-select {
  flex: 1;
  min-width: 120px;
}

.filter-item .ant-select {
  width: 100%;
}

.releases-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.releases-actions .ant-btn {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.releases-actions .ant-btn > .anticon + span {
  margin-left: 4px;
}

.btn-reset {
  background-color: #fff;
  border: 1px solid #d9d9d9;
  color: #666;
}

.btn-search {
  background-color: #1890ff;
  border: 1px solid #1890ff;
  color: #fff;
}

.btn-advanced {
  background-color: #fff;
  border: 1px solid #d9d9d9;
  color: #666;
}

.arrow-up {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #666;
}

.releases-table {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.releases-table table {
  width: 100%;
  border-collapse: collapse;
}

.releases-table th,
.releases-table td {
  padding: 12px 15px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid #e8e8e8;
}

.releases-table th {
  background-color: #fafafa;
  color: #666;
  font-weight: 500;
}

.releases-table tbody tr:hover {
  background-color: #f5f7fa;
}

.releases-table .loading,
.releases-table .no-data {
  text-align: center;
  color: #999;
  padding: 30px 0;
}

.status-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 12px;
  margin-right: 8px;
}

.status-deploying {
  background-color: #e6f7ff;
  border: 1px solid #91d5ff;
  color: #1890ff;
}

.operations button {
  background-color: transparent;
  border: none;
  color: #1890ff;
  cursor: pointer;
  margin-right: 10px;
  font-size: 13px;
  padding: 0;
}

.operations button:hover {
  color: #40a9ff;
  text-decoration: underline;
}

.operations .btn-delete {
  color: #ff4d4f;
}

.operations .btn-delete:hover {
  color: #ff7875;
}
